{% for host in groups['etcd'] %}
{{ hostvars[host].inventory_hostname }} {{hostvars[host].etcd_hostname}}
{% endfor %}
{% for host in groups['k8s'] %}
{{ hostvars[host].inventory_hostname }} {{hostvars[host].node_hostname}}
{% endfor %}
{% for host in groups['lb'] %}
{{ hostvars[host].inventory_hostname }} {{hostvars[host].lb_hostname}}
{% endfor %}
